

#screen {
    width: 400px;
    height: 200px;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.5);
    color: #333333;
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;  /* æ·»åŠ é—´è· */
}

/* æ–°å¢žçŽ©å®¶ä¿¡æ¯æ ·å¼ */
.player-info {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.info-label {
    color: #666;
    font-size: 16px;
    min-width: 80px;
}

.info-value {
    color: #2196F3;
    font-weight: 600;
    font-size: 18px;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-value {
    color: #4CAF50;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

#match-button {
    width: 400px;
    height: 60px;
    font-size: 22px;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border: none;
    outline: none;
    border-radius: 12px;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    transition: all 0.3s ease;
}

#match-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

#match-button:active {
    transform: translateY(1px);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.98); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

#match-button.matching {
    animation: pulse 1.5s infinite;
    background: linear-gradient(45deg, #2196F3, #1976D2);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

#ai-match-button.matching {
    animation: pulse 1.5s infinite;
    background: linear-gradient(45deg, #2196F3, #1976D2);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

#ai-match-button {
    width: 400px;
    height: 60px;
    font-size: 22px;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #6fc2ef, #22b3d5);
    border: none;
    outline: none;
    border-radius: 12px;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    transition: all 0.3s ease;
}

#ai-match-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

#ai-match-button:active {
    transform: translateY(1px);
}